<?php
class Page {
	//Properties
	public $myTitle = '';
	public $myBody = '';

	// Adds two page-objects and returns the comined result
	public function merge(Page $otherpage) {
		$ret -> m_title = $this -> m_title . " " . $otherPage -> m_title;
		$ret -> m_body = $this -> m_body . "\n" . $otherPage -> m_body;

		return $ret;
	}

}
